//
//  MKSpecificItemObject.m
//  YangDongXi
//
//  Created by cocoa on 15/4/17.
//  Copyright (c) 2015年 cocoa. All rights reserved.
//

#import "MKSpecificItemObject.h"

@implementation MKSpecificItemObject

+ (NSDictionary *)propertyAndKeyMap
{
    return @{@"skuUid" : @"sku_uid",
             @"number" : @"number",
             @"itemType":@"item_type",
             @"serviceList":@"service_list",
             @"activityInfo":@"activity_info"
             };
}

+ (Class)classForArrayItemWithName:(NSString *)propertyName andIndex:(NSInteger)index
{
    if ([propertyName isEqualToString:@"activityInfo"]) {
        return [MKActivityInfoObject class];
    }
    if ([propertyName isEqualToString:@"serviceList"])
    {
        return [MKServiceTypeListObject class];
    }
    return nil;
}

@end
